package com.cskaoyan.service;

import com.cskaoyan.bean.MarketStorage;
import com.cskaoyan.bean.common.BasePageInfo;
import com.cskaoyan.bean.common.CommonData;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

/**
 * @Author Austin Hsu
 * @Date 2022/9/8 16:19
 */
public interface StorageService {

    CommonData<MarketStorage> query(MarketStorage marketStorage, BasePageInfo info);

    void delete(Integer id);

    MarketStorage create(MultipartFile file) throws IOException;

    void update(MarketStorage marketStorage);

    MarketStorage create2(MultipartFile file) throws IOException;
}
